﻿using System.Collections.Generic;
using XExcel.Validations;

namespace XExcel.Models
{
    public interface IXRow
    {
        int RowIndex { get; }
        IList<IXCell> Cells { get; }
        IList<ExcelError> Errors { get; }
        void Add(IXCell cell);
        TranferState State { get; }

        IXSheet Sheet { get; }
    }
    public interface IXRow<T> : IXRow where T : new()
    {
        T Data { get; }
    }
}